package com.lastproject.ejb.dao;

import java.util.Date;
import java.util.List;

import javax.ejb.Remote;

import com.lastproject.dto.TraineeDTO;

@Remote
public interface TraineeDAORemote {
	
	void create(TraineeDTO traineeDTO);
	TraineeDTO findById(int id);
	List<TraineeDTO> getAll();
	void edit(TraineeDTO traineeDTO);
	void remove(TraineeDTO traineeDTO);
	List<TraineeDTO> findByCriteria(String name,
			String position, String employmentType, Date startEmploymentDate,
			Date endEmploymentDate, Date startLastMedCheckDate,
			Date endLastMedCheckDate, boolean enabledAccount,
			float startSalary, float endSalary);

}
